import Vue from "vue";
import axios from 'axios'

const httpPlugin = {
  install() {
    Vue.prototype.$http = axios.create({
      baseURL: process.env.VUE_APP_BASE_URL,
      timeout: 5000
    })
  }
}

export default httpPlugin